package cn.zyy.jdbc;

import cn.zyy.controller.UserController;
import cn.zyy.entity.Usr;

import java.util.Date;

/**
 * 测试分层代码
 */
public class JDBCDemo02 {
    private static UserController userController = new UserController();

    public static void main(String[] args) {
        Usr usr = Usr.builder().username("李四").password("123456").birth(new Date()).createTime(new Date()).build();
        Boolean login = userController.register(usr);
        System.out.println("login = " + login);
    }
}
